import { defineStore } from 'pinia'

export const useAppStore = defineStore('app', {
  state: () => ({
    isMiniWindow: false,
  }),
  actions: {
    setMiniWindow(flag: boolean) {
      this.isMiniWindow = flag
    },
  },
  getters: {
    // doubleCount: (state) => state.count * 2,
  },
  // persist: true, // this will make the store persistent
})
